package com.example.gaojt.androiddemo.statical.sdk;

import java.util.Map;

/**
 * Created by allen on 17-2-28.
 */

public class EventItem {
    // 事件名称 /操作代码
    private String mEventName;

    // 事件参数
    private Map<String, String> mEventParamMap;
    // 事件值
    private int mEventValue;

    // 事件开始时间
    private long mStartTime;

    private CommonParams mCommonParams;

    public EventItem(long startTime, String eventName, Map<String, String> paramMap) {
        this.mStartTime = startTime;
        this.mEventName = eventName;
        this.mEventParamMap = paramMap;
    }

    public EventItem(long startTime, String eventName) {
        this.mStartTime = startTime;
        this.mEventName = eventName;
    }

    public String getEventName() {
        return mEventName;
    }

    public void setEventName(String eventName) {
        this.mEventName = eventName;
    }


    public Map<String, String> getEventParamMap() {
        return mEventParamMap;
    }

    public void setEventParamMap(Map<String, String> eventParamMap) {
        this.mEventParamMap = eventParamMap;
    }

    public int getEventValue() {
        return mEventValue;
    }

    public void setEventValue(int eventValue) {
        this.mEventValue = eventValue;
    }

    public long getStartTime() {
        return mStartTime;
    }

    public void setStartTime(long startTime) {
        this.mStartTime = startTime;
    }


    public int getEventType() {
        return 0;// 先为计数事件类型
    }

    public CommonParams getCommonParams() {
        return mCommonParams;
    }

    public void setCommonParams(CommonParams commonParams) {
        this.mCommonParams = commonParams;
    }

}
